import http from "~/composables/http";
import {useAsyncData} from "#app";
import myFetch from "~/composables/myFetch";
export const queryPageHead = (params:any)=>{
    return http.get("/frontend/article/list",params)
}
/*export const queryArticleInfo = (id:string)=>{
    return http.get("/frontend/article/"+id)
}*/
export const queryArticleInfo = (id:string)=>{
    return myFetch.get("/frontend/article/"+id)
}
/*export const queryArticleInfo = (id:string)=>{
    return useFetch('/qcy-blog/frontend/article/'+id,{method:'get',key:id})
}*/
